import tableServiceAbstract from "@/core/table/tableService.interface";
import { $groupOrderInsuredDetail} from "@/api/groupOrder/groupOrder";
export default class insureExportDetailService implements tableServiceAbstract {
  order_no:any;
  constructor(e:any) {
    this.order_no=e.order_no;
  }
  getTable(params: any): Promise<any> {
    return $groupOrderInsuredDetail({
       "order_no":this.order_no,
       ...params,
    });
  }
  delete(params: any): Promise<any> {
    return new Promise((resolve) => {
      resolve({
        data: {
          code: 200,
          data: {},
          msg: 'success',
        }
      });
    })
  }
  add(params: any): Promise<any> {
    return new Promise((resolve) => {
      resolve({
        data: {
          code: 200,
          data: {},
          msg: 'success',
        }
      });
    })
  }
  edit(params: any): Promise<any> {
    return new Promise((resolve) => {
      resolve({
        data: {
          code: 200,
          data: {},
          msg: 'success',
        }
      });
    })
  }
  detail(params: any): Promise<any> {
    return new Promise((resolve) => {
      resolve({
        data: {
          code: 200,
          data: {},
          msg: 'success',
        }
      });
    })
  }
}